package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 转让vip对象 a_h5vip_trans
 *
 * @author gf
 * @date 2024-12-12
 */
public class AH5vipTrans extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 出租类型（1出租2转让） */
    @Excel(name = "出租类型", readConverterExp = "1=出租2转让")
    private String vipType;

    /** 图片 */
    @Excel(name = "图片")
    private String img;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 描述 */
    @Excel(name = "描述")
    private String desc;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    /** 逻辑删除 */
    private Long delFlag;

    /** 是否上线 */
    @Excel(name = "是否上线")
    private String isShow;

    /** 排序 */
    @Excel(name = "排序")
    private Integer numSoft;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setVipType(String vipType)
    {
        this.vipType = vipType;
    }

    public String getVipType()
    {
        return vipType;
    }
    public void setImg(String img)
    {
        this.img = img;
    }

    public String getImg()
    {
        return img;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setDesc(String desc)
    {
        this.desc = desc;
    }

    public String getDesc()
    {
        return desc;
    }
    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public BigDecimal getPrice()
    {
        return price;
    }
    public void setDelFlag(Long delFlag)
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag()
    {
        return delFlag;
    }
    public void setIsShow(String isShow)
    {
        this.isShow = isShow;
    }

    public String getIsShow()
    {
        return isShow;
    }
    public void setNumSoft(Integer numSoft)
    {
        this.numSoft = numSoft;
    }

    public Integer getNumSoft()
    {
        return numSoft;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("vipType", getVipType())
            .append("img", getImg())
            .append("title", getTitle())
            .append("desc", getDesc())
            .append("price", getPrice())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("delFlag", getDelFlag())
            .append("isShow", getIsShow())
            .append("numSoft", getNumSoft())
            .toString();
    }
}
